home *** CD-ROM | disk | FTP | other *** search
/ Rockford Magazine / Rockford_Magazine_030_19xx_-_de_Disk_2_of_2_Side_A.d64 / 51show format < prev    next >
Text File  |  2023-02-26  |  8KB  |  189 lines

  1. =======================================
  2. ROCKFORD-MAGAZIN 09 TEXTFILE 10.03.1994
  3. =======================================
  4.  AMIGA GO C64 RUBRIK: SHOWFORMAT
  5. =======================================
  6. Hallo Leute!
  7. Am Amiga gibt es viele geniale PRG um
  8. den C64 zu emulieren. Auf der Diskette
  9. 616 der SAAR-Amiga-Freeware Serie
  10. erschien SHOW VIC 3.01. Es handelt sich
  11. um ein AnzeigePRG fuer C64 Bilder!!!
  12. Folgender Text informiert Euch, welche
  13. PICformate moeglich sind!
  14. Die SAAR 616 Diskette bekommt Ihr bei
  15. jedem Amiga-PD Haendler.
  16. =======================================
  17.  
  18. ==============================================================================
  19.  
  20.                             C64 PICTURE FORMATS
  21.                             ===================
  22.  
  23.                By Matt Francis (m.p.francis@newcastle.ac.uk)
  24.  
  25.  
  26. INTRODUCTION
  27. ------------
  28.  
  29. Several people have asked me to include information on the different picture
  30. formats with this release of ShowVIC.  Well, information wants to be free,
  31. so here are details of all the formats ShowVIC supports.  The following
  32. labels are used:
  33.  
  34.         Load    - Load address (first two bytes of the file)
  35.         Length  - File length in bytes (including load address bytes)
  36.         Bitmap  - Bitmap offset (8000 bytes)
  37.         Screen  - Screen data offset (1000 bytes)
  38.         Colour  - Colour data offset (1000 bytes)
  39.         ScrCol  - Screen colour offset (1 byte)
  40.  
  41. The offsets given for the bitmap, screen data etc. do not include the two
  42. load address bytes.
  43.  
  44. NOTE:  If you don't know anything about how the C64 stores bitmaps, you will
  45. find it very hard to write a conversion program.  If this is the case, I
  46. recommend you read about bitmaps in a good C64 reference book before
  47. attempting to write a conversion routine.
  48.  
  49.  
  50. THE FORMATS
  51. -----------
  52.  
  53. Art Studio (hires):                     Load    - $2000
  54.                                         Length  - 9009
  55.                                         Bitmap  - 0
  56.                                         Screen  - 8000
  57.  
  58.  
  59. Image System (hires):                   Load    - $4000
  60.                                         Length  - 9194
  61.                                         Bitmap  - 0
  62.                                         Screen  - 8192
  63.  
  64.  
  65. Blazing Paddles (multicolour):          Load    - $A000
  66.                                         Length  - 10242
  67.                                         Bitmap  - 0
  68.                                         Screen  - 8192
  69.                                         Colour  - 9216
  70.                                         ScrCol  - 8064
  71.  
  72.  
  73. Koala (multicolour):                    Load    - $6000
  74.                                         Length  - 10003
  75.                                         Bitmap  - 0
  76.                                         Screen  - 8000
  77.                                         Colour  - 9000
  78.                                         ScrCol  - 10000
  79.  
  80.  
  81. Advanced Art Studio (multicolour):      Load    - $2000
  82.                                         Length  - 10018
  83.                                         Bitmap  - 0
  84.                                         Screen  - 8000
  85.                                         Colour  - 9016
  86.                                         ScrCol  - 9001
  87.  
  88.  
  89. Artist 64 (multicolour):                Load    - $4000
  90.                                         Length  - 10242
  91.                                         Bitmap  - 0
  92.                                         Screen  - 8192
  93.                                         Colour  - 9216
  94.                                         ScrCol  - 10239
  95.  
  96.  
  97. Vidcom 64 (multicolour):                Load    - $5800
  98.                                         Length  - 10050
  99.                                         Bitmap  - 2048
  100.                                         Screen  - 1024
  101.                                         Colour  - 0
  102.                                         ScrCol  - 2024 (see note at end)
  103.  
  104.  
  105. Image System (multicolour):             Load    - $3C00
  106.                                         Length  - 10218
  107.                                         Bitmap  - 1024
  108.                                         Screen  - 9216
  109.                                         Colour  - 0
  110.                                         ScrCol  - 9215
  111.  
  112.  
  113. Doodle (hires):                         Load    - $5C00
  114.                                         Length  - 9218
  115.                                         Bitmap  - 1024
  116.                                         Screen  - 0
  117.  
  118.  
  119. FLI (see notes at end):                 Load    - $3B00
  120.                                         Length  - 17474 or 17666
  121.                                         Bitmap  - 9472
  122.                                         Screen  - 1280 (8000 bytes)
  123.                                         Colour  - 256
  124.                                         ScrCol  - 0 (200 bytes)
  125.  
  126.  
  127.  
  128. SPECIAL NOTES ON VIDCOM
  129. -----------------------
  130.  
  131. Unfortunately, Vidcom doesn't seem to store the screen colour in its bitmap
  132. files.  To get round this, ShowVIC takes the screen colour from offset 2024
  133. ($7E8), which is usually a zero (so Vidcom pictures will normally be
  134. converted with a black background, even though Vidcom itself uses dark blue
  135. by default).  This can be changed by loading the picture into a binary file
  136. editor like NewZap or DekSid, and changing byte 2026 (2024+2 for load
  137. address bytes) to a value from 0 to 15.  Of course, you could do this on a
  138. C64 before actually transferring the picture.  The best solution is to avoid
  139. using the Vidcom format - Koala or Advanced Art Studio is preferable.
  140.  
  141. One more thing about Vidcom:  it seems to use exactly the same format for
  142. both hires and multicolour pictures, making it impossible to distinguish
  143. between them.  For this reason, ShowVIC currently assumes all Vidcom
  144. pictures are multicolour.  If many people badger me (can't see it
  145. happening), I might add a switch in a later release, so you can choose which
  146. mode to convert to.
  147.  
  148.  
  149.  
  150. SPECIAL NOTES ON FLI
  151. --------------------
  152.  
  153. For a full description of FLI, I refer you to Pasi Ojala's article in issue
  154. 4 of the "C= Hacking" magazine.  Here are a few notes on implementing the
  155. format.
  156.  
  157. The only difference between converting this format and converting a normal
  158. multicolour bitmap is that (a) the screen colour ($D021) changes every
  159. scanline, and (b) every byte of every character block in the bitmap has its
  160. own byte of screen data.  The screen data is organised in 8 pages of 1000
  161. bytes each.  When an FLI picture is displayed on a C64, the screen RAM page
  162. is changed every scanline, so the first pixel line of bytes (*not* the first
  163. 40 bytes) in the bitmap uses the first 40 bytes from the first page of
  164. screen data.  The second pixel line uses the first 40 bytes from the second
  165. page of screen data, and so on.  Hopefully this example will help clarify
  166. things:
  167.  
  168.  
  169.         Byte in         Char.   Screen          Screen
  170.         bitmap          block   data page       data byte
  171.         -------------------------------------------------
  172.          0               0       0               0
  173.          1               0       1               0
  174.         ...             ...     ...             ...
  175.          7               0       7               0
  176.          8               1       0               1
  177.          9               1       1               1
  178.         ...             ...     ...             ...
  179.          15              1       7               1
  180.          16              2       0               2
  181.         ...             ...     ...             ...
  182.  
  183.                                  AMIcon
  184. ==============================================================================
  185.  
  186. =======================================
  187. 100% FREEWARE        ROCKFORD-FD MAG 09
  188. =======================================
  189.